introduce xasprintf that accepts a QScopedPointer& (#547)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Tue, 28 Apr 2020 12:42:48 +0000 (06:42 -0600)
committerGitHub <noreply@github.com>
Tue, 28 Apr 2020 12:42:48 +0000 (06:42 -0600)
commit17ddbb2c7235709d5708119ce277d48d381c2cdd
tree322d198562a2ac0fc09f9d2e787d59037db2139d
parent45d641e686465a6d73eacf0fc3861f44be9d600b
introduce xasprintf that accepts a QScopedPointer& (#547)

and use it to fix gcc 9 warnings in magproto, as well as other
possible string truncations/overflows.
defs.h
magproto.cc
util.cc